libxl, tools/python: Add libxl python binding
authorGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 16 Sep 2010 16:20:22 +0000 (17:20 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Thu, 16 Sep 2010 16:20:22 +0000 (17:20 +0100)
commit6d4ba52d4915e16aa8cba141cdf287688a92ec1d
tree6eb39bbde11421fe134fdebfe176591c9349703c
parent7c12b60534f8192967ede71f70d8ea52741f3270
libxl, tools/python: Add libxl python binding

Introduce python binding for libxl. The binding is not yet complete but
serveral methods are implemented and tested. Those which are implemented
provide examples of the two or three basic patterns that most future
methods should follow.

Over 5,000 lines of boilerplate is automatically generated to wrap and
export all relevant libxl structure definitions. There are a few places
where such code cannot be fully auto-generated and special hooks are
declared and stubbed where, for example, conversion between
libxl_file_reference and a python file object is required.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
.hgignore
tools/python/Makefile
tools/python/genwrap.py [new file with mode: 0644]
tools/python/setup.py
tools/python/xen/lowlevel/xl/xl.c [new file with mode: 0644]